package io.hepu.robotize.dao;

import io.hepu.robotize.base.IBaseRepository;
import io.hepu.robotize.model.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper extends IBaseRepository<Permission, String> {
    List<Permission> selectByUserId(String userId);

    List<Permission> selectByParentId(String parentId);
}
